package jllowrey.model;


/**
 * Edge, An edge in a decisionLines Event
 * @author J Lowrey
 *
 */
public class Edge {

	/** the choice to the left of the edge */
	int left;
	/** the choice to the right of the edge */
	int right;
	/** The height of the edge*/
	int height;
	
	
	/**
	 * Edge Constructor
	 * 
	 * @param leftLine, the line connected to the left of the edge
	 * @param rightLine, the line connected to the right of the edge
	 * @param edgeHeight the height (y location) of the edge
	 */
	public Edge(int leftLine, int rightLine, int edgeHeight){
		this.left = leftLine;
		this.right = rightLine;
		this.height = edgeHeight;
		
		
	}

/** gets the line to the left*/
	public int getLeft() {
		return left;
	}
/** gets the line to the right*/
	public int getRight() {
		return right;
	}
/** gets the height of the edge*/	
	public int getHeight() {
		return height;
	}
}

